﻿<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head lang="en" id="public_head">
    <meta charset="UTF-8">
    <title>血库管理系统 之 医生管理</title>
    <link rel="stylesheet" th:href="@{/css/public.css}" href="../css/public.css"/>
    <link rel="stylesheet" th:href="@{/css/style.css}" ref="../css/style.css"/>
</head>
<body>
<!--头部-->
<header class="publicHeader" id="public_header">
    <h1>血库管理系统 之 医生管理</h1>
    <div class="publicHeaderR">
        <p><span></span><span style="color: #fff21b"> [[${session.loginUser.d_name}]]</span> , 欢迎你！</p>
        <a th:href="@{/logout}" href="../main/login.html">退出</a>
    </div>
</header>
<!--时间-->
<section class="publicTime" th:replace="main/public :: #public_time">
</section>
<!--主体内容-->
<section class="publicMian ">
    <div class="left" id="public_left">
        <h2 class="leftH2"><span class="span1"></span>功能列表 <span></span></h2>
        <nav>
            <ul class="list">
                <li th:id="${activeUri == 'patient' ? 'active': ''}"><a
                        th:href="@{/doctors/} + ${session.loginUser.d_id} ">个人信息查看</a></li>
                <li th:id="${activeUri == 'patient' ? 'active': ''}"><a
                        th:href="@{/doctorToPatients/} + ${session.loginUser.d_id} ">查看病人信息</a></li>
                <li th:id="${activeUri == 'patient' ? 'active': ''}"><a
                        th:href="@{/doctorApply/} + ${session.loginUser.d_id} ">申请用血</a></li>
                <li th:id="${activeUri == 'pwd' ? 'active': ''}"><a th:href="@{/doctor/pwd}"
                                                                    href="../main/password.html">密码修改</a></li>
                <li><a th:href="@{/logout}" href="../main/login.html">退出系统</a></li>
            </ul>
        </nav>
    </div>
        <div class="right">
            <div class="location">
                <strong>你现在所在的位置是 >> </strong>
                <span>个人信息查看页面</span>
            </div>
            <hr>
            <!--公用-->
            <table class="providerTable" cellpadding="0" cellspacing="0">
                <tr class="firstTr">
                    <th width="5%" >编号:</th>
                    <th width="10%">姓名:</th>
                    <th width="5%">性别:</th>
                    <th width="5%">年龄:</th>
                    <th width="5%">科室:</th>
                    <th width="30%">住址:</th>
                    <th width="10%">电话:</th>
                    <th width="10%">密码:</th>
                    <th width="10%" >操作:</th>
                </tr>
                <tr>
                    <td th:text="${byIdDoctorMap.d_id}"></td>
                    <td th:text="${byIdDoctorMap.d_name}"></td>
                    <td th:text="${byIdDoctorMap.d_sex== 1 ? '男' : '女'}"></td>
                    <td th:text="${byIdDoctorMap.d_age}"></td>
                    <td th:text="${byIdDoctorMap.d_department}"></td>
                    <td th:text="${byIdDoctorMap.d_address}"></td>
                    <td th:text="${byIdDoctorMap.d_tel}"></td>
                    <td th:text="${byIdDoctorMap.d_password}"></td>
                    <td>
                        <a th:href="@{/doctorUpdates/} + ${byIdDoctorMap.d_id} " ><img th:src="@{/img/xiugai.png}"  src="../img/xiugai.png" alt="修改" title="修改"/></a>
                    </td>
                </tr>
            </table>
        </div>
    </section>

	<!--点击删除按钮后弹出的页面-->
	<div class="zhezhao"></div>
	<form method="post" id="deleteForm" >
		<input type="hidden" name="_method" value="delete">
		<div class="remove" id="removeProv">
		   <div class="removerChid">
			   <h2>提示</h2>
			   <div class="removeMain" >
				   <p>你确定要删除吗？</p>
				   <a href="#" id="yes">确定</a>
				   <a href="#" id="no">取消</a>
			   </div>
		   </div>
		</div>
	</form>

<footer class="footer" th:replace="main/public :: #public_footer">
</footer>

<script th:src="@{/webjars/jquery/3.3.1/jquery.js}" src="../js/jquery.js"></script>
<script th:src="@{/js/js.js}" src="../js/js.js"></script>

</body>
</html>